package cn.icanci.nacos.user.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;

/**
 * @author icanci
 * @since 1.0 Created in 2023/04/17 22:26
 */
@Configuration
public class UserConfig {
    @Bean
    public IRule iRule() {
        return new RandomRule();
    }
}
